action_type=type name

activate_type=activate type
	; activate_type=hero_collide : player collide with active object
	; activate_type=hero_close,15 : player diatance to active object less 15
	; activate_type=hero_in_bound_box : player in active object bounding box
	; activate_type=timer,120 : activate by timer

activate_act=activate action
	; activate_act=damage_hero,electro,8 : electro type damage 8 unit to player
	; activate_act=explode_with_damage_radius,explode,35,3 : explosion radius 35, power 3. Damage to objects in radius
	; activate_act=particles_on_once,big_dust_1;big_dust_2:0.1|1|-0.9|150
	;    start particles (once on scene), particle type;particle type: add x| addy| add z| work time
	; activate_act=add_pieces_group,stone_pieces_1:0.1|1|-0.9 : add pieces group, group type: add x| add y| add z
	; activate_act=self_destroy : destroy object
	; activate_act=atach_actor_to_object : attach player to active object
	; activate_act=change_link_objects_state : change linked objects state

activate_sound=sound
	; play sound when activate
activate_effect=particles
	; effect when activate=particles
activate_delay=time
	; delay between activation phases=time

life=100
	; if object destructible
destructible=yes
	; destructible yes or not

turn_onoff_by=by what
	; turn_onoff_by=hero_act : player action
	; turn_onoff_by=self_state : indirect action or self change action
	; turn_onoff_by=timer_random,40,20 : by timer,base,random add
	; turn_onoff_by=day_light_and_emis_onoff,18,30,6,30 : on/off light and emiss color by day time 18.30 and 6.30
turn_off_act=action when turn off
turn_on_act=action when turn on
	; turn_on_act=move,shift_1 : act. type=move, move type=shift_1
	; turn_on_act=set_link_objects_state : change linked objects states
	; turn_on_act=change_self_sfx : change object material effect
	; turn_on_act=hide_and_disable,0 : hide object and disable ph. body (0 or 1)
	; turn_on_act=add_to_inventory,1 : add object to droid inventory
	; turn_on_act=add_to_inventory_ammo,20 : add to droid ammo, num of ammo
	; turn_on_act=add_to_inventory_gren,7 : add to droid grenades, num of grenades
	; turn_on_act=add_to_inventory_gun : add to droid gun
	; turn_on_act=teleport_to_scene,dng_scene_temple : load new scene, scene name
	; turn_on_act=onoff_dinlight : on/off din light linked with object
	; turn_on_act=hide_particle,0 : hide particle linked with object ( 0 or 1)
	; turn_on_act=take_from_container : take items from object container to droid inventory
	; turn_on_act=energy_recharge : recharge droid battery
	; turn_on_act=life_repair : repair droid
	; turn_on_act=activate_enchant_menu : activate droid enchant menu
	; turn_on_act=auto_save : save game data
	; turn_on_act=switch_objects,tube_valve_1_2 : swap active object with object with specified type
	; turn_on_act=change_texture : change material texture ( texture is act_texture in object type)
	; turn_on_act=add_particle : add linked particle
	; turn_on_act=replace_objects_set_state_1,small_gear_2 : swap active object with object with specified type and on
	; turn_on_act=start_dialog : start dialog witn Npc
turn_on_delay=time
	; delay before turn on
turn_on_msg=string1|string2
	; show message if turn on
turn_on_fail_snd=sound
	; play sound if turn on fail
turn_on_fail_msg=string1|string2
	; show message if turn on fail
sound_on=sound
sound_off=sound
	; play sound when object turn on / off

work_sound=sound
	; play sound when object active
move_sound=sound
	; play sound when object move
move_end_sound=sound
	; play sound when object stop move

death_explos=explosion_1,explosion_2,explosion_3...
	; list of particles which add when object die
death_sound=sound
	; sound play when object die
death_act=action
	; action  when object die
	; death_act=explode_with_damage_radius,explode,35,3

turn_on_if=condition
	; turn on if condition is satisfied
	; turn_on_if=inventory:electronic key 1,1,0 : turn on if in inventory is electronic key 1, 1 unit
	; turn_on_if=check_obj_states : turn on if linked objects state  is satisfied

work_time=time
	; work time

activate_data=data
	; not uses

end_action_type
	; end of discription